package com.art.entity;

import lombok.Data;

/**
 * IntelliJ IDEA
 *
 * @author 谭礼赞 2038940123
 * @since 2022-11-07-2022/11/7
 */

@Data
public class User {
    private Integer id;
    private String uname;
    private String pwd;
    private String email;
    private Integer role;

    public User() {
    }

    public User(Integer id) {
        this.id = id;
    }

    public User(String uname, String pwd) {
        this.uname = uname;
        this.pwd = pwd;
    }
}
